package org.jsbd.boss.dao.impl;

import org.jsbd.boss.dao.ITaskVerTimerDAO;
import org.jsbd.boss.domian.channel.TaskverTimer;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @desc
 * @Date 2018/6/12 15:18
 * @Author xupengcheng [xupengcheng@zhexinit.com]
 */
@Service
public class TaskverTimerDAOImpl extends CrackBaseDao implements ITaskVerTimerDAO {
    @Override
    public Integer deleteByPrimaryKey(Long id) {
        return super.delete("qy_taskver_timer.deleteByPrimaryKey", id);
    }

    @Override
    public Integer insert(TaskverTimer record) {
        return (Integer)super.insert("qy_taskver_timer.insert", record);
    }

    @Override
    public List<TaskverTimer> selectList(TaskverTimer record) {
        return super.queryForList("qy_taskver_timer.selectList", record);
    }

    @Override
    public Integer updateByPrimaryKey(TaskverTimer record) {
        return super.update("qy_taskver_timer.updateByPrimaryKey", record);
    }

    @Override
    public Integer countList(TaskverTimer record) {
        return (Integer)super.queryForCount("qy_taskver_timer.countList", record);
    }


    @Override
    public List<TaskverTimer> selectPageList(TaskverTimer record) {
        return super.queryForList("qy_taskver_timer.selectPageList", record);
    }
}
